//
//  EPBottomView.h
//  EpointFrame5
//
//  Created by Pill Gong on 14-1-23.
//  Copyright (c) 2014年 Epoint. All rights reserved.
//

#import <UIKit/UIKit.h>

#define BottomViewHeight (CurrentDeviceISiPad ? 352 : 216)
#define RepresentationValue 0.6

typedef enum {
    FILE_TYPE,
    PHOTO_TYPE,
    VIDEO_TYPE,
    UNRECOG_TYPE
} AttachType;

@class EpointMailSendViewController;

@protocol EPBottomViewDelegate <NSObject>

@optional
- (void)addSuccess;
- (void)deleteSuccess;
- (void)shouldShowFileMutableSelectCtrl:(NSMutableArray *)selectedIndexs;
- (void)openAttach;

@end

@interface EPBottomView : UIView

@property (nonatomic, assign) id<EPBottomViewDelegate> delegate;

@property (nonatomic, assign) BOOL isShow;
@property (nonatomic, assign) EpointMailSendViewController *parentCtrl;

@property (nonatomic, strong) NSMutableArray *attachArray;

- (void)showOrHideBottomView:(NSArray *)array;
- (void)okButtonPressed:(NSMutableArray *)mutableArray;
- (void)reloadAttachView;

@end
